package com.hsy.bibc.modules.my.activity;

import android.os.Bundle;
import android.webkit.WebView;

import com.hsy.bibc.R;
import com.hsy.bibc.modules.common.CommonBaseActivityWithSimpleActionBar;

/**
 * Created by 123 on 2016/1/25.
 */
public class ActivityWebView extends CommonBaseActivityWithSimpleActionBar {
    private WebView web_view;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_web_view);
        setTitle(R.string.title_about_us);
        web_view = (WebView) findViewById(R.id.web_view);
        web_view.getSettings().setJavaScriptEnabled(true);
        web_view.loadUrl(getIntent().getStringExtra("web_url"));
    }
}
